package net.lzzy.lxq.server;


import net.lzzy.lxq.dao.AdminUserMapper;
import net.lzzy.lxq.entities.AdminUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminUserService {
    @Autowired
    AdminUserMapper mapper;

    public AdminUser getAdminUser(String userId,String pasword){
        return mapper.getAdminUser(userId, pasword);
    }

    public List<AdminUser> getUsers(){
        return mapper.getUsers();
    }
}
